The _dddd_rrrr_vvvv______pppp_rrrr_iiii_vvvv function determines whether the credentials specified by the
credential structure pointed to by _c_r_p identify a privileged process.
RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
_dddd_rrrr_vvvv______pppp_rrrr_vvvv returns 0 if the specified credentials identify a privileged
process or contain CAP_DEVICE_MGT capability, otherwise, _EEEE_PPPP_EEEE_RRRR_MMMM returned.
UUUUSSSSAAAAGGGGEEEE
This function should only be used when file access modes and special
minor device numbers are insufficient to provide the necessary protection
for the driver operation being performed. Calls to _dddd_rrrr_vvvv______pppp_rrrr_iiii_vvvv should
replace all calls to _ssss_uuuu_ssss_eeee_rrrr and any explicit checks for effective user ID
equal to zero in driver code.
A credential structure pointer is passed into various driver entry point
functions [_oooo_pppp_eeee_nnnn(D2), _cccc_llll_oooo_ssss_eeee(D2), _rrrr_eeee_aaaa_dddd(D2), _wwww_rrrr_iiii_tttt_eeee(D2), and _iiii_oooo_cccc_tttt_llll(D2)] and
can also be obtained by calling _dddd_rrrr_vvvv______gggg_eeee_tttt_pppp_aaaa_rrrr_mmmm(D3) from base level driver